package com.ggh.jinjilive.views.live.pk;

import android.content.Context;

public class MLVBLiveRoomImpl extends MLVBLiveRoom {
    protected static MLVBLiveRoomImpl       mInstance                   = null;
    protected Context mAppContext                 = null;


    public static MLVBLiveRoom sharedInstance(Context context) {
        if (mInstance == null) {
            synchronized (MLVBLiveRoomImpl.class) {
                if (mInstance == null) {
                    mInstance = new MLVBLiveRoomImpl(context);
                }
            }
        }
        return mInstance;
    }

    public static void destroySharedInstance() {
        synchronized (MLVBLiveRoomImpl.class) {
            if (mInstance != null) {
                mInstance = null;
            }
        }
    }

    public MLVBLiveRoomImpl(Context context) {
        mAppContext = context.getApplicationContext();

    }
}
